if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Track]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[Track]
GO

CREATE TABLE [dbo].[Track] (
	[Track ID] [int] NOT NULL,
	[Name] [nvarchar] (200) NULL,
	[Artist] [nvarchar] (100) NULL,
	[Album] [nvarchar] (100) NULL,
	[Grouping] [nvarchar] (100) NULL,
	[Genre] [nvarchar] (100) NULL,
	[Kind] [nvarchar] (100) NULL,
	[Size] [int] NULL,
	[Total Time] [int] NULL,
	[Track Number] [int] NULL,
	[Track Count] [int] NULL,
	[Year] [int] NULL,
	[Date Modified] [datetime] NULL,
	[Date Added] [datetime] NULL,
	[Bit Rate] [int] NULL,
	[Sample Rate] [int] NULL,
	[Comments] [nvarchar] (200) NULL,
	[Play Count] [int] NULL,
	[Play Date] [bigint] NULL,
	[Play Date UTC] [datetime] NULL,
	[Rating] [int] NULL,
	[Track Type] [nvarchar] (100) NULL,
	[Location] [nvarchar] (500) NULL,
	[File Folder Count] [int] NULL,
	[Library Folder Count] [int] NULL
) ON [PRIMARY]
GO

